<template>
    <div class="release" @click="jumpRelease">
        <div class="box">
            <image src="/static/icons/release_home.png" alt="" />
        </div>

        <div class="text">发布</div>
    </div>
</template>
<script>
export default {
    data() {
        return {}
    },
    methods: {
        jumpRelease() {
            this.$u.route('/pages/statistics/release/index');
        }
    }
}
</script>
<style scoped lang="scss">
.release {
    @include flex($justify: center, $aligin: center);
    border-radius: 40rpx 0 0 40rpx;
    padding: 25rpx 20rpx;
    position: fixed;
    right: 0;
    bottom: 150rpx;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;

    .box {
        position: absolute;
        left: 5rpx;
        text-align: center;
        line-height: 70rpx;
        border-radius: 50%;
        width: 70rpx;
        height: 70rpx;
        background-color: #fff;

        image {
            width: 70rpx;
            height: 70rpx;
        }
    }

    .text {
        margin-left: 70rpx;
    }
}
</style>